/**
 * Created with IntelliJ IDEA.
 * User: ajhin
 * Date: 1/28/14
 * Time: 5:42 PM
 * To change this template use File | Settings | File Templates.
 */
package com.societyGames.outputExercises
{
import com.societyGames.action.IAction;

public class OutputTextAction implements IAction
{
  private var _render:OutputRender;
  private var _text:String;

  public function OutputTextAction(render:OutputRender, text:String)
  {
    this._render = render;
    this._text = text;
  }

  public function startAction():void
  {
    this._render.addOutputText(_text);
  }
}
}
